package com.learn.project2.model.bo.admin.topic;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @description:
 * @author zhizhuke
 * @date 2022-01-07 20-33
 * @version 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class TopicUpdateBVO {
    private Integer id;
    private String title;
    private String subtitle;
    private Integer price;
    private String readCount;
    private String picUrl;
    private Integer sortOrder;
    private Integer[] goods;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    private Boolean deleted;
    private String content;
}
